import request from '../utils/request'
//获取景点列表
export function list(params) {
  return request({
    url:'/scenicSpot/list',
    method:'get',
    params:params
  })
}
//获取景点详情
export function find(params) {
  return request({
    url:'/scenicSpot/find/'+params,
    method:'get',
    params:null
  })
}



export function getArea(params) {
  return request({
    url:`/area/getArea/${params}`,
    method:'get',
    params:null
  })
}
